package com.yiyun.blog.service;

import com.yiyun.blog.vo.Result;
import com.yiyun.blog.vo.params.LoginParam;

/**
 * @author Bao
 * @create 2022-03-03-20:53
 */
public interface LoginService {

    //登录
    Result login(LoginParam loginParam);

    //退出登录
    Result logout(String token);

    //注册
    Result register(LoginParam loginParam);
}
